package dbTools.util;


public final class ReflectionHelper {
   
    public static <T> T getReflectObj(Class<T> entityClass){
    	Object bean=null;
		try {
			bean = Class.forName(entityClass.getName().toString()).newInstance();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
    	return (T)bean;
    }
}
